﻿using MediatR;
using MES.Bom.ErrorCode;

namespace MES.Bom.API.Application.Command.BOM命令
{
    /// <summary>
    /// BOM添加命令
    /// </summary>
    public class BomAddCommand:IRequest<APIResult<int>>
    {
        public string BomCode { get; set; }
        /// <summary>
        /// BOM主题
        /// </summary>
        public string BomTopic { get; set; }
        /// <summary>
        /// 版本号
        /// </summary>
        public string BomVersion { get; set; }
        /// <summary>
        /// 默认Bom
        /// true 是
        /// false 不是
        /// </summary>
        public bool IsDefaultBom { get; set; }
        /// <summary>
        /// 所属成品
        /// </summary>
        public int GoodsId { get; set; }
        /// <summary>
        /// 单日产量
        /// </summary>
        public int DayPlannum { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Note { get; set; }
        /// <summary>
        /// 物料主键字符串
        /// </summary>

        public string  Midlist { get; set; }
        /// <summary>
        /// 工艺字符串
        /// </summary>
        public string  Cidlist { get; set; }
    }
}
